import dayjs, { Dayjs } from "dayjs";
export default function DatePickerHook() {
  // 日期禁用
  const disabledDate = (current: Dayjs) => {
    // Can not select days before today and today
    return current && current < dayjs().startOf("day");
  };
  return {
    disabledDate
  };
}
